package com.wyl.studyredis.business.service;

import com.wyl.studyredis.business.entity.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyl.studyredis.business.vo.CarVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyl
 * @since 2022-02-13
 */
public interface ICarService extends IService<Car> {

    CarVo saveAndCache(Car car) throws Exception;

    CarVo getByIdAndCache(String id) throws Exception;

    CarVo updateByIdAndCache(Car car) throws Exception;

    void removeByIdAndCache(String id);


}
